Remove leftover PDB code from the Palm/OS era.
authorRobert Lipe <robertlipe@gpsbabel.org>
Fri, 3 Nov 2017 22:03:55 +0000 (17:03 -0500)
committerRobert Lipe <robertlipe@gpsbabel.org>
Fri, 3 Nov 2017 22:03:55 +0000 (17:03 -0500)
csv_util.h
defs.h

index 8b5ed140c5b9aa9e5b2dffe50d47ec36623bef01..76d963847dc5f98fb1157cf40b369f68f75b5141 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #include <QtCore/QStringList>
+class QTextStream;
 
 /* function prototypes */
 
diff --git a/defs.h b/defs.h
index f2679635bae406c029e4d327e2ea9318a8c570f9..0d57241b19d891cfe3b8748921321de1d8dba2a1 100644 (file)
--- a/defs.h
+++ b/defs.h
@@ -212,8 +212,6 @@ extern const char gpsbabel_version[];
 extern time_t gpsbabel_now;    /* gpsbabel startup-time; initialized in main.c with time() */
 extern time_t gpsbabel_time;   /* gpsbabel startup-time; initialized in main.c with current_time(), ! ZERO within testo ! */
 extern int geocaches_present;
-class QTextStream;
-extern QTextStream cerr;
 
 #define MILLI_TO_MICRO(t) (t * 1000)  /* Milliseconds to Microseconds */
 #define MICRO_TO_MILLI(t) (t / 1000)  /* Microseconds to Milliseconds*/
@@ -1013,24 +1011,6 @@ signed int si_round(double d);
 #define lround si_round
 #endif
 
-/*
- * Data types for Palm/OS files.
- */
-typedef struct {
-  unsigned char data[4];
-} pdb_32;
-
-typedef struct {
-  unsigned char data[2];
-} pdb_16;
-
-typedef struct {
-  unsigned char data[8];
-} pdb_double;
-
-typedef struct {
-  unsigned char data[4];
-} pdb_float;
 
 /*
  * Protypes for Endianness helpers.
@@ -1064,11 +1044,6 @@ double le_read_double(const void* p);
 void   le_write_float(void* ptr, float f);
 void   le_write_double(void* p, double d);
 
-#define pdb_write_float be_write_float
-#define pdb_read_float be_read_float
-#define pdb_write_double be_write_double
-#define pdb_read_double be_read_double
-
 /*
  * Prototypes for generic conversion routines (util.c).
  */